#pragma once

#include "gl\glut.h"
#include "component_constant.h"
class constant_side :
	public component_constant
{
public:
	GLuint texture;
	float rise;
	float depth;
	float width_percent;

	constant_side(void);
	~constant_side(void);
	void draw(float* start, float* end, float start_dist, float end_dist, float* delta);
	void draw_corner(float *previous_point, float *cur_point, 
						float* previous_delta, float *cur_delta, 
						float* center_point, float corner_radius);

};

